<?php /* Smarty version 2.6.27, created on 2013-11-01 14:54:05
         compiled from detail.html */ ?>
<htmL>
	<head>
		<title>详细信息</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="stylesheet" type="text/css" href="style/detail.css">
	</head>
	<body>
		<div id="wrap">
			<div id="head">
			</div>
			<div id="container">
				<div id="base_info">
					<h4 style="padding-left:5px">基本信息</h4>
					<table border=0 cellspacing=0 cellpadding=0 width=100%>
						<tr height=300px>
							<td width=25%><img src="<?php echo $this->_tpl_vars['detail_entity']->_IMG_URL; ?>
"></td>
							<td width=75% valign="middle">
								<span style="font-size:16px;color:black;font-weight:700"><?php echo $this->_tpl_vars['detail_entity']->_BOOKNAME; ?>
</span><br/>

								<span>价 格：<span style="font-size:18px;color:F00;font-weight:800"><?php echo $this->_tpl_vars['detail_entity']->_DISCOUNT_PRICE; ?>
</span></span><br>

								原 价：<span style="color:#B0B0B0;text-decoration: line-through"><?php echo $this->_tpl_vars['detail_entity']->_PRICE; ?>
 </span>
								<!-- 折扣是否存在 -->
								<?php if ($this->_tpl_vars['detail_entity']->_DISCOUNT != ""): ?> 
								折扣：<?php echo $this->_tpl_vars['detail_entity']->_DISCOUNT; ?>
折
								<?php endif; ?>
								</span><br>
								<span>已有<a onclick="bookComment();" href="#"><?php echo $this->_tpl_vars['detail_entity']->_COMMENT_NUMS; ?>
</a>人评论&nbsp;
								<!-- 总分是否存在 -->
								<?php if ($this->_tpl_vars['detail_entity']->_GRADE != ""): ?>
								总分:<span style="color:#DB9444"><?php echo $this->_tpl_vars['detail_entity']->_GRADE; ?>
</span>星</span> <br>
								<?php endif; ?>
								<br>
								<hr>
								<br>
								<span class="detail">
								丛 书 名：<?php echo $this->_tpl_vars['detail_entity']->_BOOKNAME; ?>
<br>
								作 者：<?php echo $this->_tpl_vars['detail_entity']->_AUTHOR; ?>
<br>
								出 版 社：<?php echo $this->_tpl_vars['detail_entity']->_PUBLISHMENT; ?>
 &nbsp;&nbsp;&nbsp;&nbsp;出版时间：<?php echo $this->_tpl_vars['detail_entity']->_PUBLISH_TIME; ?>
<br>
								版 次：<?php echo $this->_tpl_vars['detail_entity']->_EDITION_NUM; ?>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;页 数：<?php echo $this->_tpl_vars['detail_entity']->_PAGES; ?>
 &nbsp;&nbsp;&nbsp;&nbsp;印刷时间：<?php echo $this->_tpl_vars['detail_entity']->_PRINT_TIME; ?>
 <br>
								开 本：<?php echo $this->_tpl_vars['detail_entity']->_BOOK_SIZE; ?>
 开&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;开 纸 张：<?php echo $this->_tpl_vars['detail_entity']->_PAPER; ?>
&nbsp;&nbsp;&nbsp;&nbsp; <br> 
								I S B N：<?php echo $this->_tpl_vars['detail_entity']->_IBSN; ?>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;包 装:<?php echo $this->_tpl_vars['detail_entity']->_PINGZHUANG; ?>
 &nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['detail_entity']->_DETAIL_URL; ?>
"><span style="font-size:16px">>>BUY</span></a>
								</span>
							</td>
						</tr>
					</table>
				</div>
				<div id="discribe">
				<?php if ($this->_tpl_vars['detail_entity']->_DESCRIBE != ""): ?>
					<h4>图书描述</h4>
					<div class="discribe">
						<?php echo $this->_tpl_vars['detail_entity']->_DESCRIBE; ?>

					</div>
				<?php endif; ?>
				</div>
				<div id="author_info">
				<?php if ($this->_tpl_vars['detail_entity']->_AUTHOR_INFO != ""): ?>
					<h4>作者简介</h4>
					<div class="author_intro">
					<?php echo $this->_tpl_vars['detail_entity']->_AUTHOR_INFO; ?>

					</div> 
				<?php endif; ?>
				</div>
				<div id="catalogue">
				<?php if ($this->_tpl_vars['detail_entity']->_EXIST_CATALOGUE != ""): ?>
					<h4 style="padding-left:5px">目录</h4>
					<div class="catalog_all">
						<div id="less">
						<?php echo $this->_tpl_vars['detail_entity']->_LESS_CATALOGUE; ?>

						</div>
						<div class="more" style="display:none">
						<?php echo $this->_tpl_vars['detail_entity']->_MORE_CATALOGUE; ?>

						</div>
						<p id="click" style="background-color:#E0B4C8;text-align:center;margin-left:-7px;color:#0000A0">点击展开</p>
					 </div>
				<?php endif; ?>
				</div>
			</div>
			<div id="footer">
				<span>Copyright 2013-2014 Powered By Team-6</span><br/>
				<span><img src="img/footer.gif"></span>
			</div>
		</div>
	</body>
	<script type="text/javascript" src="./js/comment.js"></script>
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/catalogue.js"></script>
</html>